package com.example.back.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "登录返回体")
public class LoginResp implements Serializable {

    @ApiModelProperty(value = "用户ID")
    @JSONField(name = "UID")
    private Long UID;
    @ApiModelProperty(value = "用户名称")
    @JSONField(name = "Account")
    private String Account;
    @ApiModelProperty(value = "用户姓名")
    @JSONField(name = "Name")
    private String Name;
    @ApiModelProperty(value = "所属科室")
    @JSONField(name = "DepartName")
    private String DepartName;
    @ApiModelProperty(value = "过期时间")
    @JSONField(name = "NeedChangePWD")
    private boolean NeedChangePWD;

}
